import request from '@/utils/request'

// 查询项目列表
export function listProjectFee(query) {
  return request({
    url: '/hissystem/projectFee/list',
    method: 'get',
    params: query
  })
}

export function selectProjectFeeType() {
  return request({
    url: '/hissystem/projectFee/selectType',
    method: 'get'
  })
}

export function addProjectFee(data) {
  return request({
    url: '/hissystem/projectFee/addProjectFee',
    method: 'post',
    data: data
  })
}

export function updateProjectFee(data) {
  return request({
    url: '/hissystem/projectFee/updateProjectFee',
    method: 'put',
    data: data
  })
}

export function selectProjectFeeById(projectId) {
  return request({
    url: '/hissystem/projectFee/'+projectId,
    method: 'get'
  })
}

export function deleteProjectFees(projectIds) {
  return request({
    url: '/hissystem/projectFee/'+projectIds,
    method: 'delete'
  })
}
